/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.sql.SQLException;


/**
 *
 * @author fiifi
 */
public class Grade {

    private double lowebound;
    private double upperBound;
    private String gradeLetter;
    private String remark;

    public boolean setGrade(double lowerBound, double upperBound, String gradeLetter, String remark) throws InstantiationException, IllegalAccessException, SQLException {
        //do database code here
     
        
        
        return false;
    }

    public char getGrade(double mark) {
        return ' ';
    }

    public String getGradeLetter() {
        return gradeLetter;
    }

    public void setGradeLetter(String gradeLetter) {
        this.gradeLetter = gradeLetter;
    }

    public double getLowebound() {
        return lowebound;
    }

    public void setLowebound(double lowebound) {
        this.lowebound = lowebound;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public double getUpperBound() {
        return upperBound;
    }

    public void setUpperBound(double upperBound) {
        this.upperBound = upperBound;
    }
}

